package com.zhangjingcheng.yunyixia.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@ConfigurationProperties(prefix = "s3")
@Component
public class S3Properties {

    // aws key
    private  String accessKey;

    // aws secret
    private  String secretKey;

    // aws endpoint
    private  String endpoint;

    // aws region
    private  String region;

    // aws bucketName
    private  String bucketName;

}
